package com.cy;

import com.cy.baseTest.People;
import com.cy.baseTest.Test1;
import com.cy.proxy.Proxu;
import com.cy.proxy.Student;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.List;

public class App {
    public static void main( String[] args ) throws InvocationTargetException, IllegalAccessException {
//        Test1 test1 = new Test1();
//        People people = test1.doSome();
//        Test1 t1 = people.getT1();
//        System.out.println(t1 == test1);
//        这是手动实现代理的测试
//        Student stu = new Student("张三");
//        Proxu.invoke(stu, "play");

//        com.cy.string.String string = new com.cy.string.String();
        String[] name = {"张三", "李四"};
        System.out.println(name);


    }
}
